<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Login</title>
  </head>
  <body>
    {% if user.is_authenticated %}
      logined:{{ user.username}}
    {% endif%}
    <form class="" action="." method="post">
      {% csrf_token %}
      <div class="">
        <label for="username">UserName</label>
        <input type="text" name="username" value="">
      </div>
      <div class="">
        <label for="PassWord">PassWord</label>
        <input type="Password" name="password" value="">
      </div>
      <div class="submit">
        <button type="submit" name="button">Login</button>
      </div>
    </form>
  </body>
</html>
